import {
	https
} from '../https.js'
export default {
	// 合同代理收益
	async gzAgentIncome(data) {
		const res = await https({
			url: '/gzsd/gzAgentIncome/list',
			method: 'get',
			data
		})
		return res
	},
	async getContractList(data) {
		const res = await https({
			url: '/gzsd/gzContractInfo/list',
			method: 'get',
			data
		})
		return res
	},
	async contractEdit(data) {
		const res = await https({
			url: '/gzsd/gzContractInfo/edit',
			method: 'post',
			data
		})
		return res
	},
	// 我的审核
	async queryPageListByexamine(data) {
		const res = await https({
			url: '//gzsd/gzCustomInfo/queryPageListByexamine',
			method: 'get',
			data
		})
		return res
	},
	// 绿证绿电
	async gzLdLzList(data) {
		const res = await https({
			url: '/gzsd/gzLdLz/list',
			method: 'get',
			data
		})
		return res
	},
	// 团队长申请列表
	async gzTeamApplyList(data) {
		const res = await https({
			url: '/gzsd/gzTeamApply/list',
			method: 'get',
			data
		})
		return res
	},
	// 团队长申请列表
	async gzTeamApplyList(data) {
		const res = await https({
			url: '/gzsd/gzTeamApply/list',
			method: 'get',
			data
		})
		return res
	},
	// 团队长申请新增
	async addGzTeamApply(data) {
		const res = await https({
			url: '/gzsd/gzTeamApply/add',
			method: 'post',
			data
		})
		return res
	},
	// 合作规则
	async gzCooperateRuleList(data) {
		const res = await https({
			url: '/gzsd/gzCooperateRule/list',
			method: 'get',
			data
		})
		return res
	},
	// 知识拓展查询
	async gzKnowledgeExpandItem(data) {
		const res = await https({
			url: '/gzsd/gzKnowledgeExpand/queryById',
			method: 'get',
			data
		})
		return res
	},
	// 案例学习
	async gzStudyList(data) {
		const res = await https({
			url: '/gzsd/gzStudy/list',
			method: 'get',
			data
		})
		return res
	},
	// 案例学习查询
	async gzStudyById(data) {
		const res = await https({
			url: '/gzsd/gzStudy/queryById',
			method: 'get',
			data
		})
		return res
	},
	// 获取查看收益的短信验证码
	async agentIncomeCode(data) {
		const res = await https({
			url: '/gzsd/gzAgentIncome/agentIncomeCode',
			method: 'post',
			data
		})
		return res
	},
	// 查看我的结算
	async getMyGzAgentIncome(data) {
		const res = await https({
			url: '/gzsd/gzAgentIncome/getMyGzAgentIncome',
			method: 'post',
			data
		})
		return res
	},

	// 添加代理商
	async addAgents(data) {
		const res = await https({
			url: '/gzsd/gzAgent/add',	
			method: 'post',
			data
		})
		return res
	},
}